MuleSoft Accelerator for SAP icon

MuleSoft Accelerator for SAP

(6 reviews)

SAP S4HANA EDI setup guide

Overview

Introduction

bulb.png Disclaimer — This guide is based on information from the official SAP official document Setting Up Integration of Sales with External Buyers (2EL).

The objective of this document is to explain all of the necessary configurations to set up the EDI integration of sales with external buyers.

sap-s4hana-edi-setup-guide-01.png

Before you begin

It is mandatory that the scope item Integration of SAP S/4HANA Sales with Procurement (2EL) is active. You can check this in the App (Manage Your Solution under View Solution Scope). If the scope item is not active, request the activation through BCP – Ticket Component: XX-S4C-OPR-SRV.

Configuration in SAP S/4HANA Cloud

Setting up the connection between buyer and supplier using EDI requires some basic configuration activities, which are described in the following sections.

Prerequisites

To configure the EDI integration, users require the following business roles in SAP S/4HANA Cloud:

  • Administrator (SAP_BR_ADMINISTRATOR)
  • Business Integration Expert (SAP_BR_CONF_EXPERT_BUS_NET_INT)
  • Master Data Specialist (SAP_BR_BUPA_MASTER_SPECIALIST)

For more information about how to manage business users and business roles, see 'Identity and Access Management' on the SAP Help Portal.

Assigning Customer or Supplier to Sales Organization Data

  1. Log into the SAP Fiori Launchpad in the SAP S/4HANA Cloud system as a Configuration Expert - Business Process Configuration (SAP_BR_BPC_EXPERT).
  2. Navigate to Manage your Solution → Configure Your Solution.
  3. On the Configure Your Solution: Realize Phase screen, filter the list using the following values:
    • Application Area: Sales
    • Sub Application Area: Integration
  4. In the Configuration Item area, click the following entry: Integration with Buyers.
  5. In the Configure Your Solution: Integration with Buyers screen area, choose the Configuration Steps tab.
  6. Search for Assign Customer/Supplier to Sales Organization Data and choose Configure.
  7. Choose New Entries and enter the following details, then choose Save:
FieldExample values
Customer1001092
Supplierblank
Sales Organization1710
Distribution Channel10
Division00
Sales Document TypeOR
Doc. Type Returns Orderblank
Discrepancy Allowance for Payment TermsA
sap-s4hana-edi-setup-guide-02.png



back to top

BRF+ settings

In BRF+, you set parameters that control the output from SAP S/4HANA.

BRF+ settings for Order Confirmation

  1. Open the Output Parameter Determination Fiori app.
  2. In the Select Business Rules section, choose:
    • Show Rules for: Sales Document
    • Determination Step: Output Type
  3. Expand the Maintain Business Rules section and choose Edit.
  4. In Table Contents, choose Insert New Row.
  5. Enter the following values and then choose Activate when finished:
Field NameAuto-generated
Document Cat.C (Order)
Sales Doc. TypeBV (Cash Sale) exclude = SO01 (PBS Sales Order); =CCIS (Consignment issue)
Output TypeORDER_CONFIRMATION (Order Confirmation) and ORDER_CONFIRMATION_ CHANGE (Order Confirmation change)
Dispatch Time1 (Immediately)
sap-s4hana-edi-setup-guide-03.png

Determination Step: Receiver.

  1. Expand the Maintain Business Rules section and choose Edit.
  2. In Table Contents, choose Insert New Row.
  3. Enter the following values and then choose Activate when finished:
Field NameAuto-generated
Output TypeORDER_CONFIRMATION (Order Confirmation) and ORDER_CONFIRMATION_CHANGE (Order Confirmation change)
RoleAG
Exclusive Indicator- (false)
sap-s4hana-edi-setup-guide-04.png

Determination Step: Channel.

  1. Expand the Maintain Business Rules section and choose Edit.
  2. In Table Contents, choose Insert New Row.
  3. Enter the following values and then choose Activate when finished.

The following table doesn’t check for duplicate values. Be sure that you have configured these values just once to avoid outbound message duplication:

Field NameAuto-generated
Output TypeORDER_CONFIRMATION (Order Confirmation) and ORDER_CONFIRMATION_CHANGE (Order Confirmation change)
Roleblank
Recipient1001092 (example Sold-ToParty-ID)
Channel-EDI (EDI)
sap-s4hana-edi-setup-guide-05.png

Determination Step: Output Relevance.

  1. Expand the Maintain Business Rules section and choose Edit.
  2. In Table Contents, choose Insert New Row.
  3. Enter the following values and then choose Activate when finished:
Field NameAuto-generated
Document Cat.C (Order)
Output TypeORDER_CONFIRMATION (Order Confirmation) and ORDER_CONFIRMATION_CHANGE (Order Confirmation change)
Confirmation StatusC (All schedule lines by MM confirmed); = " "
Header DataC (Completely processed)
OverallCredStatcontains not any 'BC'
Delivery Blockis initial
Billing Blockblank
RelevanceX (true)
sap-s4hana-edi-setup-guide-06.png

BRF+ settings for Advance Shipping Notice

  1. Open the Output Parameter Determination Fiori app.
  2. In the Select Business Rules section, choose:
    • Show Rules for: Outbound Delivery
    • Determination Step: Output Type
  3. Expand the Maintain Business Rules section and choose Edit.
  4. In Table Contents, choose Insert New Row.
  5. Enter the following values and then choose Activate when finished:
Field NameAuto-generated
Delivery Typeblank
Output TypeDELIVERY_NOTE (Delivery Note)
Dispatch Time1 (Immediately)
sap-s4hana-edi-setup-guide-07.png

Determination step: Receiver.

  1. Expand the Maintain Business Rules section and choose Edit.
  2. In Table Contents, choose Insert New Row.
  3. Enter the following values and then choose Activate when finished:
Field NameAuto-generated
Output Typeblank
RoleWE
Exclusive Indicator- (false)
sap-s4hana-edi-setup-guide-08.png

Determination step: Channel

  1. Expand the Maintain Business Rules section and choose Edit.
  2. In Table Contents, choose Insert New Row.
  3. Enter the following values and then choose Activate when finished.

The following table doesn’t check for duplicate values. Be sure that you have configured these values just once to avoid outbound message duplication:

Field NameAuto-generated
Output TypeDELIVERY_NOTE (Delivery Note)
RoleWE
Recipient1001092 (example Sold-ToParty-ID)
Channel-EDI (EDI)
sap-s4hana-edi-setup-guide-09.png

Determination step: Output Relevance.

  1. Expand the Maintain Business Rules section and choose Edit.
  2. In Table Contents, choose Insert New Row.
  3. Enter the following values and then choose Activate when finished:
Field NameAuto-generated
Output TypeDELIVERY_NOTE (Delivery Note)
Document Cat.J (Delivery)
TotalGdsMvtStatC (Completely processed)
Relevance IndicatorX (True)
sap-s4hana-edi-setup-guide-10.png

BRF+ settings for Billing Document (Supplier Invoice)

  1. Open the Output Parameter Determination Fiori app.
  2. In the Select Business Rules section, choose:
    • Show Rules for: Billing Document
    • Determination Step: Output Type
  3. Expand the Maintain Business Rules section and choose Edit.
  4. In Table Contents, choose Insert New Row
  5. Enter the following values and then choose Activate when finished:
Field NameAuto-generated
Output TypeBILLING_DOCUMENT (Billing Document)
Dispatch Time1 (Immediately)
sap-s4hana-edi-setup-guide-11.png

Determination Step: Receiver

  1. Expand the Maintain Business Rules section and choose Edit.
  2. In Table Contents, choose Insert New Row.
  3. Enter the following values and then choose Activate when finished:
Field NameAuto-generated
Output TypeBILLING_DOCUMENT (Billing Document)
RoleRE
Exclusive Indicator- (false)
sap-s4hana-edi-setup-guide-12.png

Determination Step: Channel

  1. Expand the Maintain Business Rules section and choose Edit.
  2. In Table Contents, choose Insert New Row.
  3. Enter the following values and then choose Activate when finished.

The following table doesn’t check for duplicate values. Be sure that you have configured these values just once to avoid outbound message duplication:

Field NameAuto-generated
Output TypeBILLING_DOCUMENT (Billing Document)
Roleblank
Receiver ID1001092 (example Sold-ToParty-ID)
Channel-EDI (EDI)
sap-s4hana-edi-setup-guide-13.png

Determination Step: Output Relevance

  1. Expand the Maintain Business Rules section and choose Edit.
  2. In Table Contents, choose Insert New Row.
  3. Enter the following values and then choose Activate when finished:
Field NameAuto-generated
Output TypeBILLING_DOCUMENT (Billing Document)
Posting StatusC (Journal document has been created)
Relevance IndicatorX (True)
sap-s4hana-edi-setup-guide-14.png



back to top

Assign Recipients

To monitor the related messages in the Message Dashboard Fiori app, you must add some Recipients to the user.

  1. Open the Assign Recipients to Users Fiori app.
  2. Select your user on the left and then select Assign on the right.
  3. For Namespace select /SDEDI and for Recipient Name select EDI_SD_CONF_RECIPIENT. Leave all the other values as default.
  4. Repeat steps 1–3 for the following values:
NamespaceNamespace
/SDEDIEDI_SD_ORDR_RECIPIENT
/SDEDIEDI_SD_INVC_RECIPIENT
/LEEDIEDI_DELOUT_RECIPIENT

Communication Arrangement

The following procedure describes how to set up the communication scenario SAP_COM_0223 for the sales with buyers integration. For the communication scenario, a communication arrangement is needed.

  1. Open the Communication Arrangements Fiori app.
  2. To create a new communication arrangement, choose New.
  3. In the New Communication Arrangement dialog box, enter the following data:
    • Scenario: SAP_COM_0223 (Sales with Buyers Integration)
    • Arrangement Name: complete with an appropriate name. For this example, we are keeping the arrangement name SAP_COM_0223.

      sap-s4hana-edi-setup-guide-15.png

  4. Choose Create.
  5. On the Communication Arrangements screen, in the Common Data section, select the Communication System that is already created for this use case.
    • After you select the Communication System, the Inbound and Outbound Communication Users are completed automatically.

      sap-s4hana-edi-setup-guide-16.png

      sap-s4hana-edi-setup-guide-17.png

  6. Activate the corresponding checkbox for each outbound service (Sales Order Confirmation, Outbound Delivery, and Customer Invoice) and set the specific path to the mule application endpoint that will receive the Outbound messages from S/4HANA Cloud.

    sap-s4hana-edi-setup-guide-18.png

  7. Select Save. The scenario is activated and ready to use.



back to top


Reviews